<script type="text/javascript">
var process_request = "<?php echo $this->_var['lang']['process_request']; ?>";
</script>
<div class="bar">
	<p>   
	<?php echo $this->smarty_insert_scripts(array('files'=>'transport.js,utils.js')); ?>
   <?php 
$k = array (
  'name' => 'member_info',
);
echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash;
?> 
   <?php if ($this->_var['navigator_list']['top']): ?>
    <?php $_from = $this->_var['navigator_list']['top']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'nav');$this->_foreach['nav_top_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nav_top_list']['total'] > 0):
    foreach ($_from AS $this->_var['nav']):
        $this->_foreach['nav_top_list']['iteration']++;
?>
            <a href="<?php echo $this->_var['nav']['url']; ?>" <?php if ($this->_var['nav']['opennew'] == 1): ?> target="_blank" <?php endif; ?>><?php echo $this->_var['nav']['name']; ?></a>
            <?php if (! ($this->_foreach['nav_top_list']['iteration'] == $this->_foreach['nav_top_list']['total'])): ?>
             |
            <?php endif; ?>
    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>  
    
     <?php endif; ?>
	</p>
</div>
<div class="head">
	<div class="logo" id="logoimg"><a href="index.php"><img src="themes/ok-moban/images/logo.gif"></a></div>
    <div class="tel" id="logoleft">客服热线<span>400-8888-666</span></div>
    <div></div><br class="clear">
</div>

<div class="menu" id="headli">
	<div class="ma" id="MuneDui"><a href="search.php?intro=hot"><span>热卖</span></a><a href="search.php?intro=best"><span>精品</span></a><a href="search.php?intro=new"><span>新品</span></a><a href="search.php?intro=promotion"><span>特价</span></a>
	   
	</div>
	
	<br class="clear">
    <ul id="IndexType">
    	
		<li <?php if ($this->_var['navigator_list']['config']['index'] == 1): ?> <?php endif; ?>><a class="home" href="index.php"><?php echo $this->_var['lang']['home']; ?></a></li>
  <?php $_from = $this->_var['navigator_list']['middle']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'nav');$this->_foreach['nav_middle_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nav_middle_list']['total'] > 0):
    foreach ($_from AS $this->_var['nav']):
        $this->_foreach['nav_middle_list']['iteration']++;
?>
  <li <?php if ($this->_var['nav']['active'] == 1): ?> class="cur"<?php endif; ?>><a href="<?php echo $this->_var['nav']['url']; ?>" <?php if ($this->_var['nav']['opennew'] == 1): ?>target="_blank" <?php endif; ?> ><?php echo $this->_var['nav']['name']; ?></a> </li>
 <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
    </ul>
    <div class="gwc"><a href="flow.php">我的购物车</a>（<?php echo $this->smarty_insert_scripts(array('files'=>'transport.js')); ?><?php 
$k = array (
  'name' => 'cart_info',
);
echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash;
?>）<span><a href="flow.php">去结算»</a></span></div>
</div>

<div class="block clearfix">
<form id="searchForm" name="searchForm" method="get" action="search.php" onSubmit="return checkSearchForm()" style="padding:0px; margin:0px;">
<div class="sc" >
   <select name="category" id="category">
      <option value="0"><?php echo $this->_var['lang']['all_category']; ?></option>
      <?php echo $this->_var['category_list']; ?>
    </select>
    <input id="keyword" name="keywords" value="请输入关键字..." onfocus="javascript:this.value='';" type="text">
 <input  value="搜 索" class="b1" type="submit">　
 <a href="search.php?act=advanced_search"><?php echo $this->_var['lang']['advanced_search']; ?></a> 
     <?php if ($this->_var['searchkeywords']): ?>
   <?php echo $this->_var['lang']['hot_search']; ?> ：
   <?php $_from = $this->_var['searchkeywords']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'val');if (count($_from)):
    foreach ($_from AS $this->_var['val']):
?>
   <a href="search.php?keywords=<?php echo urlencode($this->_var['val']); ?>"><?php echo $this->_var['val']; ?></a>
   <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
   <?php endif; ?>
 
 </div>
</form>
</div>



	<script type="text/javascript">
    
    <!--
    function checkSearchForm()
    {
        if(document.getElementById('keyword').value)
        {
            return true;
        }
        else
        {
           alert("<?php echo $this->_var['lang']['no_keywords']; ?>");
            return false;
        }
    }
    -->
    
    </script>
	<div class="blank5"></div>